/**
 * RecipeListXM.java
 * Nov 18, 2013
 * Copyright: phongtdse60732@fpt.edu.vn
 */
package XMLEntities;

import java.util.ArrayList;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/**
 * @author Lubu
 * @version 1.0
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "recipeList" })
@XmlRootElement(name = "RecipeList")
public class RecipeListXM {
	@XmlElement(required = true, name = "Recipe")
	private ArrayList<RecipeXM> recipeList;

	public RecipeListXM() {
		super();
		this.recipeList = new ArrayList<RecipeXM>();
	}

	public RecipeListXM(ArrayList<RecipeXM> recipeList) {
		super();
		this.recipeList = recipeList;
	}

	/**
	 * Get value of the recipeList
	 * @return the recipeList
	 */
	public ArrayList<RecipeXM> getRecipeList() {
		return recipeList;
	}

	/**
	 * Set value for the recipeList
	 * @param recipeList the recipeList to set
	 */
	public void setRecipeList(ArrayList<RecipeXM> recipeList) {
		this.recipeList = recipeList;
	}
	
	
}
